package support.model;

import aop.model.TagField;

import java.util.Date;

/**
 * @Author Antony
 * @Since 2017/12/6 17:08
 */
public class Cat {

    @TagField("field_id")
    private Integer id;

    @TagField("field_name")
    private String name;

    @TagField("field_birthday")
    private Date birthday;

    public Cat() {
    }

    public Cat(Integer id, String name, Date birthday) {
        this.id = id;
        this.name = name;
        this.birthday = birthday;
    }

    public Cat(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "Cat{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", birthday=" + birthday +
                '}';
    }
}
